package com.share.device.repository;

import com.share.device.domain.StationLocation;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author HuanghanChi
 * @version 1.0
 * @date 2025/4/2 14:11
 **/
@Repository
public interface StationLocationRepository extends MongoRepository<StationLocation, String> {
    StationLocation getByStationId(Long stationId);

    void deleteByStationId(Long stationId);
}
